Added check for inverted mouse setting in movement code
Merge remote-tracking branch 'upstream/develop' into develop
fixed backward logic of inverted mouse check
Merge #1190 from @porl