Fix dummy input not being removed upon destroy