fix FireFox bug, where elf won't be at the center of the page