Fixed bug in GetChildFromPath method from the BaseLayout class.