Fix toplevel declaration font lock cause freeze

see also #182