Fixed backgrounds repainting