Fixed FireFox input incompatibility