patch fix for firefox display