Catch IOException for .setPreviewTexture()