Fix a crash when user placed in check.