Fix popup position