It's actually because JavaFx isn't correctly responding to WinAPI calls in regards to switching z-order, and it would require re-writing the entire project.
JavaFX is not "ideal" at all. Requiring reflection to enable functionality is a joke.
I lied, i fixed it.