Fix Init from parent window