Inlined newScreen and cloneScreen.