Fix loss of stack trace when wrapping event that doesn't have one.