fixes particletracer
forces rectangle/circle creation to grid coordinates