Fixed minor Bug. Tried to implement snapToGrid-Param which struggles a bit