Restrict the input from the gyro to the same range as desktop version.
Also ensures that starting position when using gyro is "in the middle", and not the position corresponding to the top left corner when using mouse.
Merge branch 'gyrorange'