Replace magic number 2 with a MIDDLE_MOUSE_BUTTON constant