Fixes mobile distance bug