Example of parent element getting click event before the child