AutomationEditor: fix grid drawing, now both time signatures other than 4/4 and scrolling should work quite a bit better.