Fix slider and pause bugs.