Fix sizing bug for some browsers