Fixing initial window layout