Fix bug preventing one from editing modules loaded with errors