added StageScaleMode and StageAlign