Fix for the 'showGrid' option.