The pixel start and end position of an event is calculated from the timeline. It always corresponds to the event start and end time.
The only case when it doesn’t correspond is when you use event boxes. In that case the pixel start is changed to the cell start and the pixel end is changed to the cell end. So that is the first thing to check.
If you set useEventBoxes: "Never"
and the pixel position doesn’t correspond to the time it might be because some custom CSS that overrides the element position/dimensions. You can test that by temporarily turning off the global CSS.