fixes background image bug