fix image real size bug