Fixes background images for the pages