Automatically manage master windows in tile