Added controllerNum bounds checking for most input functions in ControllerInputManager