Fix some issues with readViewTree expanding referenced images inline
Merge branch 'readViewTree_issues'

* readViewTree_issues:
  Fix some issues with readViewTree expanding referenced images inline