Sometimes the shape tool does not create a shape on the canvas