Fixed a history issue in XYFocus when dealing with fractional pixels.
Fixes #816.
Fixed an issue with referenceElements without a tabIndex or tabIndex=-1.
Fixes #815.