fix to text editor screen for ios8