You could not move fully into the geometry, but you could move into it until the bounding boxes touch. The code example then would not move you out of it.
I may be wrong, but as far as I know all sticking problems are caused by wrong bounding boxes and can easily be avoided when following the suggestions under "Remarks" in the manual. All our examples and templates use basically the same simple algorithm. When the bounding box is so big that it touches the floor, the height adjustment permanently attempts to push it further downwards. Because the entity can not glide downwards deeper than its bounding box, it will become stuck as soon as it encounters two planes that intersect in an acute angle with the floor. That's not a bug, it's just mathematics.
Therefore, either make sure that the bounding box is ok, or use a different movement algorithm. As to my knowledge, Doug's new T7 movement template also works with a fully extended bounding box.