Fixed compatibility issue with GridSwitcher.
Merge pull request #1 from tom-go/master

Fixed compatibility issue with GridSwitcher.