Move middle-click picking to handleInputUp()
Move middle-click picking to handleInputUp()

This commit will make it so middle-click palette-switching occurs when releasing, and if the mouse hasn't moved more than 15 pixels from the initial point.

xSke/Pxls,xSke/Pxls,xSke/Pxls,xSke/Pxls