Input range fix for safari glitch