Add render offset to event.
Merge pull request #893 from iChun/master

Add render offset to event.