- Added onFrame event.