Attempt to fix image layout issues