Fix for text width/height ignored/changed to 100 in hardware rendering.