fix bug for firefox
support firefox 3d