Don't use event.layerX/Y properties. Fixes #3.