Fixed issue #205
Implemented grid selection with mouse