Thanks for your comments! I agree this can be heavily improved. The teleportation is done on purpose, around every 15 (or 20?) seconds the player will TP somewhere in the middle. It gets me every time... think of it like an unfair Easter egg! ;)
This was my very first time programming or writing a game, I'll take your accounts into suggestion if I work on this in the future. Hopefully I'll be better for the next game jam!