A class with @ApplicationScoped is instantiated twice in a Java SE project that uses Weld to create JavaFX Controllers for FXML interfaces.