Corrected legend disabled behavior.