fix #1796 pathway element picking