Fixed some bugs related to the prototype turret defense game.