Compute middleMarker position from pixel (cf #4)