add piece that fixes clicking some buttons resetting the video