Sketch element: use floats instead of ints