firefox compatibility fixes. display fixes