Fixed a similar bug with the player that happened with ghost.