Moved InputHandling to the GameThread