Fix setting the sampling factor property