Fixed issues with loading and unloading for going in and out of range.