fixed a few bugs relating to sneak and stairs