fixes inconsistantcy between FF and Chrome for inline forms