Fixed array out of range in OnMouseMoved

parameter iMouseButton was not properly checked before it was
used for indexing g_fLastClickTime.
Merge pull request #83 from epajarre/array-fix

Fixed array out of range in OnMouseMoved