Bug fix for TextLayer overrun in April.

latest commit b6b6fefc0d
@C-D-Lewis authored