Fixes layout rendering bug. Reported in https://app.asana.com/0/17940248260383/17940248260385