Actually, what you need to do is, with Fences enabled, just left click drag make a rectangle and a menu will popup to create a fence or create a portal fences here. Refer screenshot below.

Right click and create a rectangle around a group of icons to make a Fences with those icons in it. Refer screenshot below.

Thank you,
Basj,
Stardock Community Assistant