Nice catch for the bug! I fixed it on the wip branch here: https://github.com/MichaelHoste/xmoto.js/commit/24855d191a43...
There is an abstraction between player physics and ghost physics and I think I need to refactor the collision system to avoid this kind of behavior.