diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js
index cfc15cf5..d215425c 100644
--- a/editor/svgcanvas.js
+++ b/editor/svgcanvas.js
@@ -1077,12 +1077,12 @@ function SvgCanvas(c)
if($.inArray(current_mode, ['select', 'resize']) == -1) {
addGradient();
}
+ start_x = x;
+ start_y = y;
switch (current_mode) {
case "select":
started = true;
- start_x = x;
- start_y = y;
current_resize_mode = "none";
var t = evt.target;
// WebKit returns
when the canvas is clicked, Firefox/Opera return