Note: There is a PR right now that will fix this problem: https://github.com/openjdk/jfx/pull/1951
There are some discussions to find the correct way to solve the root problem. In any case, this should be solved soon.