fixed pc plot bug where it wouldn't update after dragging the slider