Fixed checking checkmate