Added offset to AbstractEvent.java