BrushStrokes calculates non transparent bounds before saving.
Merge pull request #929 from RotaruDan/paintFixes

BrushStrokes calculates non transparent bounds before saving.