make video work in proper window, and not freeze

(but fullscreen got broken)