fix image resizing as modules get narrower