Check for null GridFragment, and disable PTR if we're in multi-select mode.

Fixes #1458