Issue 6795 - Use event layerX/Y when browsers know these
The fallback for event.layerX/Y
doesn't actually work in older browsers such Chrome 49.
This patch uses simply the provided event.layerX/Y
whenever available, since it's also faster and natively provided by the browser.
Edited by Andrea Giammarchi