Applying NSLayoutConstraints makes NSTableView unresponsive

In MacOS app I present modally NSTableView. The table is created in IB and its data and functionality are handled in corresponding NSViewController. As long as the positioning of modally presented table is left to the system, the tableview is placed in the center of the presenting view controller and everything works fine. But if I apply NSLayoutConstraints to position it as I need for visual design reasons, the table stops responding to mouse clicks. Here's the code inside the presenting view controller:

 bookmarks_TVC = Bookmarks_TVC()
 bookmarks_TVC.view.translatesAutoresizingMaskIntoConstraints = false
 self.present(bookmarks_TVC, animator: ModalPresentationAnimator())
       
NSLayoutConstraint.activate([
            self.bookmarks_TVC.view.leadingAnchor.constraint(equalTo: self.view.leadingAnchor, constant:410),
            self.bookmarks_TVC.view.topAnchor.constraint(equalTo: self.view.topAnchor, constant: 170)
        ])

Once again, without NSLayoutConstraints the table responds as expected. Once the constraints are added, it becomes unresponsive. Thanks in advance for any helpful suggestions.

Applying NSLayoutConstraints makes NSTableView unresponsive
 
 
Q