fix inconsitent browser rendering of input (fixes #7)