FIX Layout inheritance BUG

Signed-off-by: Richard Lea <chigix@zoho.com>