Fixed middle click event