Fixed some game over issues and made error checking for the cannon's rotation