Fix crash on arm64.
Fix returning value by proxy if method not implemented in mainDelegate.