Fixed bug where portrait mode had UI components misaligned