Fixes some FF display issues