Fix for BISERVER-8359

In PUC, right-clicking on a non-selected folder and picking an item from
the context menu applies to the selected folder and not the folder where
the right-click occurred