Optimization to speed up TextShape.update.

Frame rate increased:

Nexus 4 OS 4.3: 22 -> 30

on some app.