fix arphic's bug on not working for visibility:hidden element.