Update popup position when calendar is attached to widget