fix problem with changing z-stack width.
Merge pull request #8 from episodeyang/master

fix problem with changing z-stack width.