Removed all unnecessary calls to `layoutIfNeeded`.