Thank you!
That swapping sometimes doesn't work is indeed a minor bug. I'll probably redo the entire movement system later and I agree with all your feedback and if I'm gonna expand on the game I will improve on all those points!