LcdSpinBox: check for mouse button in mouseReleaseEvent()

Otherwise we restore things that were never changed when releasing right
or middle mouse button.

Closes #358.