[bugfix] prevent synthetic onClick event bubble up

Solution to #345