Switch order of mouse up/mouse down, fix slight whitespace issue