[Bug 4960] MDI children not positioned correctly because of invisible parent