Fixing selection model issue with document, and pin data display