The reason for the phenomenon is that at wide apertures in good light necessitating a fast shutter speed, most of the exposure is coming from a very narrow traveling slit between the first and second curtain.
The curtains before and after the slit are not at the same height, however.
The electronic curtain travels where the photosites are.
The mechanical curtain travels at significant distance from the sensor. In particular, there is an anti-aliasing filter and perhaps some protective glass on top of the sensor, and only then the shutter curtain.
Because the curtains are at different heights from the sensor, parallax effect becomes significant. The faster the shutter speed, the smaller the traveling slit is, and the problem becomes more pronounced.
To fix the issue, the shutter speed needs to be slowed down. Firstly, if the camera is not already at its lowest ISO setting, the ISO should be lowered to the lowest ISO. Secondly, if the shutter speed is still too fast causing the effect to appear, an ND filter could be used.
However, the best fix is to use shutter curtains that are at the same height from the photosites. So, if the second curtain is mechanical, the first should be mechanical too. Unfortunately, with all cameras, this is not possible.