Thank you for the review and for discovering this weird bug. I did not know of it xD
I think the delay functions I'm using or the player controller might cause this unwanted behavior.