Shapes's position is corresponding to the cursor. Fixed bugs.