transferControlToOffscreen