BuddyPress avatar issue

On a new BuddyPress install, when users signup the default avatar is broken. It’s linking to:


This is a staging server so you won’t be able to access it but the i1.wp.com bit is the problem here. Why won’t it just link to the working link that’s added strangely at the end? This is the part I want it to link to by default:


Where do I edit this? Usually the i1.wp.com or i2.wp.com link works though. Strange. Thanks in advance!