CMDBuild 2.5.1 - following a relation selects the first card tab instead of Relations tab

In version 2.2.2, if I followed a relation to another card, the linked card view stayed on Relations tab after loading. It seems, version 2.5.1 resets the active tab to the first one. How can this be fixed?