Changed tablet to use PointF.