fix image sizing for iOS