timob-14751: Fix window opening states.
Merge pull request #4531 from hieupham007/timob-14751

timob-14751: Fix window opening states.