Removed the painting of white before the image since it causes flickering issues.