Allowing the editing of brushes by dirty flags. Corrects scaling of textures not 256x256