Brush didn't move properly when resizing