Connected the predefinedRectangle with the mousePosition.
Bugs need to be fixed.........

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