Fixes to AtlasFont and SimpleTexture