Fixed annoying slider bug