https://github.com/appcelerator/titanium_mobile/pull/4735