cviewport.checkRestrictStage