2D sidescrolling movement bug

I’ve just had a go at a work around that seems to be working somewhat. Need to test more.

Removing and then adding the sidescrolling device to the player when the bug starts seems to fix it but it’s not very practical. Will see if I can get it working in a sensible way and will update.