FIX Fixes silverstripe/silverstripe-cms#947 GridField sorting.

- Ensures magnifying icon only shows when required.
- Also fixes silverstripe/silverstripe-cms#810 (@chillu comment).
- Also fixes #1492