VideoDisplay returns -1 when the Esc is pressed