Fixed a null reference exception in the GestureListener relating to the RaiseGestureEvent code