It's not a bug. Most likely you have the displayStretchHandles setting stored on either the cellView, the library, or technology library. When a design is opened, display and editor options are searched for in this order:
Wherever it finds it first, will set the property on the window. So if it has been set in any of the top three, the cdsenv will have no effect because something more specific has overridden it.
To check, in the layout window do File->Properties and go to the Property tab (or shift-Q to bring up the cellView properties for most people). If it's not there, go over the library in the library manager and do RMB-> properties. Look for a property called viewProps and if it's there, it will have an EXPAND button next to it. This will popup another form with potentially multiple viewTypes, but the one you'd be after is maskLayout. Click on the EXPAND button next to that, and you should see any saved display properties. If it's not in the library, do the same process on the technology library that you're attached to.