disabling render menu item while rendering