Fixed background rendering problem