Added code to stop event propagation.