Dogs are so smart. If you are not careful they end up training you. Your dog is just pushing his limits. If it is a behavior that you think is undesirable, then it is an easy fix. Bring a treat with you next time. When you throw the ball call your dog back after he retrieves it. If he runs past you ignore him. Dogs love attention so don’t give him any extra attention for exhibiting undesired behavior. When he returns show him your treat take the ball and give it to him. Now start over. Throw the ball again when your dog retrieves it call him back with the treat in your hand. If he comes right to you. Great say good boy and reinforce with the treat. Repeat till you have achieved your desired response.