fix image scaling bug