Handle freeze in (void)layoutViews