Camera and window closing