changed from pointSize to pixelSize