InputState: Fix build by using fabs() instead of abs()