fix firefox postion bug