Fix setDelta value with brush res