gray = ground, black platform , same objects, different coordinates different result, (why there is a gap in the y coordinate)
Develop games in your browser. Powerful, performant & highly capable.
That's how Platform behavior works. There is always a small gap.
Try changing "Pixel rounding" in project properties.