This is a really sad bug with a long history.
You know how sometimes when you're going through the DSZ2 block maze and sometimes you completely phase through one of the blocks? That was actually an attempted hotfix for an earlier incarnation, where going through it randomly killed all your momentum because it detected a wall but not a breakable FOF responsible for it.
These edge cases (har di har har) are a pain, and they've been around for a long time. Hopefully they CAN be fixed but I have heard a lot about how difficult that would likely be.