Indeed, same issue I had. My WP installation is in a subfolder of the public_html. I figured a way to cheat the system by putting the avatars folder in the root, however I am not going along with it because it might mess up things for future updates.
Simply said, the paths are wrong when being displayed on the front end.