fire viewreset before onAdd, fix #2510