Added dashed rectangle to drawing shapes
NEEDS FIX: Error if (P1 > P2) for lines only
Positionned drawing shapes on canvas