fix render tree and click event