fix image resize bug