Added support and usage of off-setting of command states in relation to
building restore commands for canvases, where the restore commands of
embedded models are off set.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>