fix & reenable code for drawing compact nodes
fix the invalid-link-filter