Respect zoom value when drawing anchor lines.
Use afterRendering instead of frameSwapped signal.

QQuickWindow::frameSwapped doesn't seem to be emitted when using
QQuickWidget. QQuickWindow::afterRendering does work, though.
Thus we use this signal.