found and fixed need to round all pixel coordinates