Fixed bug in WandController.