Fix theme preference on login frame