Bug Fixed in maingameloop blocking user interaction