fix WP unit test
hack for firefox and masonry