Fix views multiple-render issue