Fixing javafx reference