Add a gate conditional before calling stopPropagation in case it doesn't exist

For the "dragend" event, kinetic sometimes sends us an event object that doesn't have all the expected functions and properties attached