Ghost following double-click fix

Allows ghosts to double-click tiles to move and stop following people, rather than just being pulled back to the followed mob, as is the case since #6640.