Fixed issue with Magicline throwing an exception when DOMDocument.elementFromPoint returns empty object.
Code simplification. Removed test that can't validate the issue.
Changelog entry.
Merge branch 't/12185'