Prevent click propagation on ui panes