This is unfortunately how it's implemented within the GUI framework we are using. If a window does not have a title bar, it does not have any borders either.
Changing this requires altering the framework's code, and that's not something that can be easily done.