Attempt to fix slider crash.