fix layert.hide().show() in ie9

IE9 want to show layer after hiding without this fix :(
Merge pull request #52 from hshhhhh/master

fix layer.hide().show() in ie9