fix image-only view handling