Fixed setlens bug