fix up background rendering