Added stricter renderer parameter checking.