Fixed a bug preventing the game from rendering