front: Fixed bug in deadzone calculation for peripheral controllers.

No idea what I was smoking when I wrote the original implementation.