This code should go to QtSystem. We can add a workaround here until it's fixed in QtSystem, though ideally you'd do a pull request with this change to QtSystem