Fix strict-aliasing violation on traits holding inner fields