No that wasn't intentional, I have no idea why it happens but it was my first time making the player able to attack like that so no wonder that sometimes it has issues
Well because of your theme, bugs can mix with your game style, good job never the less tho!