fix(popover): position#offest - FireFox bug

fix position factory for FireFox in append-to-body="true" case

this is for issue #2268