Backport of commit [b323db26](https://github.com/openjdk/jfx/commit/b323db262906853afbdec7a747f3b2f5b6593b9b) (PR https://github.com/openjdk/jfx/pull/1186)
------------- Commit messages: - Backport b323db262906853afbdec7a747f3b2f5b6593b9b Changes: https://git.openjdk.org/jfx/pull/1187/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1187&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8313227 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jfx/pull/1187.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1187/head:pull/1187 PR: https://git.openjdk.org/jfx/pull/1187