Fixed bug for playhead position when window is resized and player is stopped.