Thank you for the quick reply.
So basically, I'm running from the ghost and I land on top of the hiding box. If I happen to click space at the same time that the ghost catches up to me, I end up caught in this in-between state where I cannot move, I take damage from the ghost, I am not hidden and I cannot do anything. Clicking space repeatedly does not help.