Issue #2162165 by Mark Carver, attiks | aukhan: Anchor JS errors: "Cannot read property 'top' of null" and "Cannot call method 'createDocumentFragment' of null".