Fixed a bug entering grid coordinates.