issue_91: fix image resized smaller than expected