I've tried to profile the game to find out what is causing this, I will hopefully find a fix for it soon