Fixed the user interface not aligning correctly on startup.