Fix login layout problem