fix image charactor bug in IE, Firefox, Safari