diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
index 4f65f10..27cbf93 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -1275,6 +1275,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
fillStyle: shapestyleFillColor,
fromCenter: false,
x: (offsetX1), y: (offsetY1),
+ //added abs
width: Math.abs(x - offsetX1), height: Math.abs(y - offsetY1),
// Place a handle at each side and each corner
resizeFromCenter: false,