I am making a simple code to play a video in Pyglet. However the sound coming is noisy and hurts the ear greatly (using headphones). Strangely enough when I exit the window