fix changing tool cursors when resizing