Here’s a slightly different way of calibrating the sensor that might help:
Full instructions via Fairphone support’s troubleshooter > Display > My display stays on during a call. Your mileage may vary. The troubleshooter will also tell you how to get in touch with Fairphone support if it turns out the sensor isn’t registering anything.