I tapped continuously to the right side and the collision didn't happen.
You're right, I'll add a cooldown timer, thank you for the feedback