fixed weird firefox image bug