Fixes for FireFox display issues