I can’t replicate this issue so I don’t think it is being caused by the Razor theme.
Have you deactivated all other plugins except for BuddyPress and bbPress to make sure the problem isn’t being caused by one of the additional plugins you have installed?
NOTE: To include code in your posts such as shortcodes, HTML, CSS, JavaScript, PHP → please follow the instructions on the forum home page.