fixed the ghosts movement twitching