Moved background rendering to a shared system.