BTW, what's the reason for multiplying/rounding of coordinates here? Tried removing this and it seems to make no difference.