Unless I'm missing something I don't think display connections matter here. If you want to default a no-button connection to be a left click if there are no explicit left connections then all I'm saying is that you aren't properly checking that there are no explicit-left connections. There might be one later in the list. I think you should do two passes.