I imagine you could make it better by only rendering the background once and then only update the tiles that have stuff on them