Fixed local variable hides a field warning in the game controller in the JavaFX client.