Fixed a bug in NewStepSizeGlobalEvent