apply initial showCoordinateGrid value