Issue #3259465 by dsnopek, cboyden, effulgentsia: Fix regression caused by jQuery UI position() backport