Fix rectangle tool with transparent fill color
DRY up paint editor code
Fix brush tool