Ignore click on a node when document is selected\n\n[finishes #59844284]