Fix input border flicker in Chrome from @garoevans, closes #7689