Fix crash on Fx/Opera