Improve player-enemy collision detection