NOTE: THIS PROJECT IS BROKEN: Everything seems fine, until the pen reaches the bottom-left corner again. Then, it kind of goes on top of the pen that's already there. It does that again and again, also with reaching the bottom-right corner. But what really baffles me is that this problem is non-existent in the top corners. I have no idea where the problem is, but if you know how to fix it, please tell me in this post: https://scratch.mit.edu/discuss/topic/497701/?page=1#post-5040194
https://scratch.mit.edu/discuss/topic/497701/