Modified to emit event when "area" tag clicked