Fixed a crash in ResizeBrushTool.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>