fixed a background repainting bug on entering a new level