Compute the child NSWindow geometry better after recreation

Change-Id: I8a3ef356a4d8d8c0336682e89f70da1554d94395