alr very weird fix but I kinda fixed the script?
I added a debugging print at the very start of the final part of my script where all the events are received. Somehow it printed there correctly so I just moved the receiving part to the start of the events and now it receives the event. Anyone know a reason for that?