Fixed bug which caused sprites to not display properly after resetting game.