Flatheaded dinosaur lived on island of dwarfed creatures