Clean foreignObject & click on function x axis