TextLayer: Some fixes.