Spacing looks off here in the file.

This seems to only be looking for the shift key being down. Shouldn't it also check the mouse is actually down as well?