Update dropdown positioning calculations based on offsetParent.