Fix load issues with slider