File input doesn't refresh when changing path

as title says, happens most of the time