fix input rendered when borders