Fix a bug that JPX images can't be shown