[BUGFIX] TS assets rendered twice

Fixes #700.
That's what I meant by 'please type cast' ;)