iOS: Fixed scroll view bug after upgrading to iOS 7 Beta 3.

Related to issue #405.