Redundant "if" in StateManager.preUpdate method

The `current` property will always be identical to `_pendingState` because of the this.setCurrentState(this._pendingState) call.