View initialization fix