refactor background rendering