Fix issue disabling white-space-mode.