added event dispatcher to graphic resource