Backport of commit [b43c4edf](https://github.com/openjdk/jfx/commit/b43c4edf7590429fd051d1b0e2ccb6dd49a10b8b) from the [openjdk/jfx](https://git.openjdk.org/jfx) repository.
------------- Commit messages: - Backport b43c4edf7590429fd051d1b0e2ccb6dd49a10b8b Changes: https://git.openjdk.org/jfx/pull/1380/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1380&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8325550 Stats: 66 lines in 3 files changed: 19 ins; 25 del; 22 mod Patch: https://git.openjdk.org/jfx/pull/1380.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1380/head:pull/1380 PR: https://git.openjdk.org/jfx/pull/1380