added TransformPosition to click and doubleclick events