fix bug - terrain type while sneaking or on slabs

Fixed a bug where the game could incorrectly determine the surface type on which the player is standing if the player was sneaking/crouching and/or if the player is standing on a slab.