Fix the editor painting black squares. Closes #4416
Merge pull request #4418 from ScottNZ/bleed

Fix the editor painting black squares. Closes #4416