Make stackDepth property a little more robust
Make stackDepth property a little more robust

When no stack is set, return -1 instead of throwing an exception

Contributes to CURA-1278

onitake/Uranium,onitake/Uranium