Altered CanvasFeature clickmap event handlers to ensure onclick code etc is only run for one block per click