fixed touch event handling in transform controls

fixes issue #4771