adapted signature change in tool mouse handler for collision check and action interpretation