I managed to fix it by adding a scene and then deleting it. No clue why but its working consistently for me.