Fixed the move generator when dealing with checkmate