Fix ViewUtils tests on Firefox