Fix g++ 4.8 compilation in a way that doesn't negatively affect framerate after initialization