Fix problem destroying the player