Fixed drawPoint(point) function