Fixes IllegalThreadStateException in GameEntityManager