Fixed lost drawings in embed mode.
Merge branch 'temp-work'