Fixed native prototype chain lookup