fixed issue related to successive math rendering events
fixed issue related to successive math rendering events