I want to take this opportunity to apologize for all the times I have managed to make an imbecile of myself on these forums. Especially my earlier days. These were the first forums I had ever been on and it was terrifying. All the threads in the wrong sections. Asking for resources without following proper procedures. A few panic attacks that I decided to share with everyone. Thanks for putting up with me.
Finally! I've been puzzling over why it wasn't working for two days now. Turns out all of my calculations were correct, I just forgot to give some events hitboxes. Now my randomly generated maps check for collision errors, and move stuff around in real time if they finds any.