Fixes an issue with the editor size under iOS 7.

The editor size is now properly calculated under iOS 7.

/cc @bummytime