distanceFromPointToBounds fix

Auditors: nsanch, blackmad