UI orientation fixes