Fix background rendering