Option to switch left/right mouse didn't work for floating panels. It then still selected stuff behind the button. Was due to using wrong variable for events.