Fix for error when changing BitmapText.text to a shorter string.

Signed-off-by: Grant Skinner <info@gskinner.com>