Fixed defects with drag and drop and sortability.
Fix for click not working in canvas.