 	touches.push(createTouch(event, 2, offset)) if offset
 			
 	touchEvent.touches = touchEvent.changedTouches = touchEvent.targetTouches = touches
-	
-	print "Touch", type
-
-	event.target.dispatchEvent(touchEvent)
-
+
+	target.dispatchEvent(touchEvent)
 
 cancelEvent = (event) ->
 	event.preventDefault()
 	event.stopPropagation()
 
-
 class TouchEmulator extends BaseClass
 
 	constructor: ->

		screenX: event.screenX + offset.x
		screenY: event.screenY + offset.y

dispatchTouchEvent = (type, event, offset) ->
	
	touchEvent = document.createEvent("MouseEvent")
	touchEvent.initMouseEvent(type, true, true, window, 
		event.detail, event.screenX, event.screenY, 

		cancelEvent(event)
		
		@isMouseDown = true
		@target = event.target
			
		@wrap(document).addEventListener("mousemove", @mousemove, true)
		@wrap(document).addEventListener("mouseup", @mouseup, true)

		if @isPinchKeyDown
			dispatchTouchEvent("touchstart", @target, event, @touchPointDelta)
		else
			dispatchTouchEvent("touchstart", @target, event)
		
		@imageLayer.image = @mouseCursorImageActive

