BUG:347622 Don't crash when trying to isolate a transform mask
Transform masks cannot be isolated since they contain no pixel data.
So, don't show the option in the context menu and check the current node
isn't a transform mask before going into isolate mode.