It seemed like you suspected it....
When you play the DK game, there is a glitch where you can get stuck in the wall, but still move. When you move far enough (aka out of the level box) There is a platform that just ends at a point......
Where you suspecting the glitch?