fixes #1346

This PR ensures that decorators and transitions don't initialise until their element is actually in the DOM (which sometimes wasn't the case with inline components inside elements)