fixes background image resizing