fix video pausing