Update Texture class to ensure font validity