making sure 'mTextBounds' is not null when text field is restored after context loss
added support for rotated SubTextures