Don't suppose It's a bug, so I'm posting it here.
Just discover issue with object asjson and z-ordering. Basically here's the scenario:
I have an object I want to "duplicate" . On clicking on it, its data is being stored asJson in webstorage, then same object is being spawned, and it is being set from Json string. But both are being given same z-ordering! This makes picking "top/bottom" impossible.
Edit@ I've found a fix for that. But it's a really unnecessary hustle. In the future, could setting object from json automatically check if object with same z-ordering exists already, and if it does new z-order would be applied?