After an investigation I've found out that in some scenarions transformation field of TransformationBehaviour class is of type class Tansformation, not an instance of class Tansformation. It happens during map generatin, yet I can't see why it happens, as this is only this browser specific error.