fix issue where views were not styled if styleId/Class was set after initial styling