fixes background image problem for pages