Mitigating Undesirable Detector Behaviors for Improved Image Quality from the Near-Earth Object Surveyor