Fixed legend box size browser issue