It was an academic assignment. I luckily found the issue before the deadline. I added a while loop in the SerialEvent() which was true as long as myPort.available() > 0. This worked, but caused a lot of framedrops, obviously. However it was good enough.
I just realised there were reactions on this post, I did not get any notifications. So thanks everyone for your help, I truly appreciate it!