fixes #5163
Merge pull request #5260 from dotCMS/issue-5163-open-preview-asset-showing-blank-on-popup-window

fixes #5163