Fix major graphical glitch on Linux