Fixes init Behavior when saving.
Merge pull request #737 from RotaruDan/initBehaviorFix

Fixes init Behavior when saving.