Added render tick handler