I'm currently working on the collision issue.
If you do not press any key while rotating, it generally does not clip.
Even I don't know why this happens.
mabye you are moving the ball before you check collision? That way it would move through the wall before it gets a change to bounce off.
Although i don't know how to do that 😅, I will look into it and see if any thing can be done