Visualizer::attack_unit: Added selected_unit_id.is_some() check