Normally, if a climbing Lemming is about to hit their head on the ceiling, they have a few grace frames where they can be assigned the Shimmier tool so they traverse along the roof instead of falling back down. However, the Shimmier cannot be assigned via right-click on a highlighted Lemming who is in that situation.