Immutable paint field
Revert "Immutable paint field"

This reverts commit 7668b817da9c4649e42738b94e79c3dd498aeeb4.
Paint field is now immutable (with some trickery)