fix image annotation positioning after widget changes