Finite-size correlation length and violations of finite-size scaling