[fix] re-added brackets for correct transition offset handling

These brackets were kind of important... without them the transition offset is twice as large. For me this resulted in a nose down to the ground and crash.

Was broken by f28c3615a4d85103227e3423ad237105dfd18c8b