Position: Support positioning within document with jQuery 1.6.x

Fixes #10071
Closes gh-1294