Reset target to null after mouseUp event

Fixes issue whereby the rubber band wasn't being drawn after
touching something other than the main view.