fix door being swapped all the time with the player.