Fixes the global input styles for Modern theme.