Navigation Menu in buddypress themes points to main blog

Hi.

I have buddypress setup to run not on the main site as normal, but on a 'sub site.'

When I install the corporate theme or any buddypress theme (I tired social, community), the menu items point to the main blog.

So let's say main blog is http://www.example.com

Then I have buddypress running on members.example.com

The menu item for Activity points to http://www.example.com/activity/ when it should point to http://members.example.com/activity/

Same goes for Groups, Forums, etc

How do I achieve this?

Thanks.