AutomationEditor: fixed calculation of Y-coordinates for grid and values.