Should've fixed the proximity distance bug