Fix the fixed stack offset, patch contributed by Vladimir Prus