fixed scg-viewer for firefox