Fix reset problems of view properties toolbox when changing tabs