Fixed some C# bugs for iOS that won't let callbacks work.