Partial fix for slider bug.