Fixed the collision code between the player and the enemy class.