Effects of selection and covariance on X-ray scaling relations of galaxy clusters