Fixes incorrect PageX, PageY (fixes #21). Rework synthetic event creation/properties definition. Add intern test (fixes #6).