Fix callback to be invoked on every slider change