fix black bars in firefox and safari