JavaFX: Why does stage.setResizable(false) cause additional margins?

This small JavaFX test application import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.layout.BorderPane; import javafx.scene.paint.Color; import javafx.scene.shape.