Very ugly fix to avoid annoying graphics flickering.. :(