Honestly, I don't know. I think it's a programming error. I'll try to fix it, especially since it's my first game. Thanks for your opinion.