Background is not getting redrawn every loop.