Wow! Very surprising! A tip I would like to share with you is to make the moving square to do not move throuth walls, or to make the colliders smaller!
Good job!
Thanks for your kind suggestions. I was kinda in a rush, so I had little time for testing my stuff afterwards.