Fix for directory separators and input type="number" bounds