Set z depth static value to false by default in Layer class.