add initrender event

closes #294