Make sure container is not marked as ghost when it starts

Fixes #1172