Fixed bug in game thread