Fixed a bug that would cause the game to crash if it lost focus while loading.

Removed old variable.