[[ RefactorGraphics ]] fix windows text rendering crashes