Fixed module setMaxStackSize crash