fixing a bug in responsive_background_image helper