Merge "Extract PreviewPositionHelper to shared library" into tm-qpr-dev