It is actually a bug, but I couldn't find what was causing and while play testing I found it could be useful so I left it in the game.
ever play sonic heros? Reminds me of that game's wall mechanic.