Fix for "(ERROR/3) At least one body element must separate transitions; adjacent transitions are not allowed."