Connected the drawable rectangle with the mouse and made it possible to change the rectangle again after MouseUp event have entered and been finished

Signed-off-by: Johan <johanfredriksson1987@gmail.com>