fix image filename displaying for Firefox