Use currentTarget rather than target to get the instance to which the listener was added.