fixed issue where PDF previews would show a broken image when selecting them in the asset selector