layout bug fix [Fixes #47381719]