Fix input border flicker in Chrome

Or apply the patch from @garoevans in https://github.com/twitter/bootstrap/issues/7689#issuecomment-17214372