Minir fixes to the 2d text class