Run the code from an attached file.
You can see the fact, that box for check doesn't fit into black bounds of control.
Affected tests:
ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/CheckBoxesTest/buttonsTest
ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/CheckBoxesTest/constructorsTest
ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/CheckBoxesTest/setGraphicTextGapTest
ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/CheckBoxesTest/setTextTest