improved conversion to mm for the hit position