It happens because the astronaut rotates around his neck, so if you are flat against a wall, your legs rotate inside the floor.
I have begun making my logic based grav designs have activation trigger areas only with at least one block space from any ceiling, wall or floor, to not mess up the...