                 touch.movement_since_touch = 0
                 touch.touch_target = touch.target = t.target
                 @touch.touch_events[touch.id] = touch
-            @touch.touches = event.touches.length
+            @touch.touches = event.target.touches.length
 
         if enable_touch
             root_element.addEventListener 'touchstart', touch_start, false

                touch.radius_y = 0
                touch.rel_x = 0
                touch.rel_y = 0
            @touch.touches = event.touches.length

        if enable_touch
            root_element.addEventListener 'touchend', touch_end, false
            root_element.addEventListener 'touchcancel', touch_end, false

        touch_move = (event)=>
            event.preventDefault()

            for t in event.touches
                touch = {}
                touch.id = t.identifier
                touch.touching = true

                    touch.rel_y = 0
                touch.movement_since_touch = Math.abs(touch.rel_x) + Math.abs(touch.rel_y)
                @touch.touch_events[touch.id] = touch
            @touch.touches = event.target.touches.length

        if enable_touch
            root_element.addEventListener 'touchmove', touch_move, false
