fix mouse middle button handling in visual block mode