make Grid independent of QGraphicsView
Grid: avoid drawing artifacts