[3.0] Add function to set top margin of the stage