Layer.render Is Not A Function