Resto Fix

Getdistance not working on focus,focustarget so changed the logic
somewhat