That works if you don't do any transitions between...
# tornadofx
e
That works if you don't do any transitions between the LoginScreen and the MainScreen.