Issue #3468298: Fix background color not updated instantly when changed in Configure section drawer
Fix logic for checking if the background type is image or video.
Current logic checks if $group_elements['background_video']
or $group_elements['background_image']
is not an empty string. This check always passes since these elements are arrays.