Deactivate objects on canvas before duplicating slide

Fixes #3.