Fixed a DOM protection issue in CPWindow.
Fixed a DOM protection issue in CPWindow.

Reviewed by me.

rgv151/cappuccino,wangshijin/cappuccino,tancred/cappuccino,AlexanderMazaletskiy/cappuccino,cappuccino/cappuccino,mrcarlberg/cappuccino,tolmasky/cappuccino,mrcarlberg/cappuccino,FrankReh/cappuccino,Dogild/cappuccino,koamac/Cappuccino,krodelin/cappuccino,deltaprojects/cappuccino,deltaprojects/cappuccino,Dogild/cappuccino,cacaodev/cappuccino,enquora/cappuccino,zittix/cappuccino,jiangshen/cappuccino,deltaprojects/cappuccino,kidaa/cappuccino,primalmotion/cappuccino,FrankReh/cappuccino,tolmasky/cappuccino,koamac/Cappuccino,mrcarlberg/cappuccino,FrankReh/cappuccino,280north/cappuccino,Rosch/cappuccino,cappuccino/cappuccino,primalmotion/cappuccino,eventualbuddha/cappuccino,cacaodev/cappuccino,mrcarlberg/cappuccino,deltaprojects/cappuccino,enquora/cappuccino,280north/cappuccino,dgvivero/CappCoreData,wangshijin/cappuccino,Rosch/cappuccino,kidaa/cappuccino,dgvivero/CappCoreData,280north/cappuccino,rgv151/cappuccino,cappuccino/cappuccino,zittix/cappuccino,zittix/cappuccino,zittix/cappuccino,eventualbuddha/cappuccino,FrankReh/cappuccino,primalmotion/cappuccino,cacaodev/cappuccino,Rosch/cappuccino,FrankReh/cappuccino,koamac/Cappuccino,deltaprojects/cappuccino,FrankReh/cappuccino,FrankReh/cappuccino,Rosch/cappuccino,tancred/cappuccino,Dogild/cappuccino,FrankReh/cappuccino,wangshijin/cappuccino,mrcarlberg/cappuccino,jarib/cappuccino,AlexanderMazaletskiy/cappuccino,AlexanderMazaletskiy/cappuccino,daboe01/cappuccino,280north/cappuccino,mrcarlberg/cappuccino,daboe01/cappuccino,primalmotion/cappuccino,kidaa/cappuccino,krodelin/cappuccino,krodelin/cappuccino,AlexanderMazaletskiy/cappuccino,dgvivero/CappCoreData,tancred/cappuccino,akshell/cappuccino,rgv151/cappuccino,daboe01/cappuccino,akshell/cappuccino,enquora/cappuccino,rgv151/cappuccino,cacaodev/cappuccino,Rosch/cappuccino,krodelin/cappuccino,tancred/cappuccino,zittix/cappuccino,tolmasky/cappuccino,wangshijin/cappuccino,enquora/cappuccino,wangshijin/cappuccino,jiangshen/cappuccino,AlexanderMazaletskiy/cappuccino,enquora/cappuccino,280north/cappuccino,Dogild/cappuccino,rgv151/cappuccino,daboe01/cappuccino,cappuccino/cappuccino,primalmotion/cappuccino,kidaa/cappuccino,rgv151/cappuccino,cacaodev/cappuccino,koamac/Cappuccino,krodelin/cappuccino,kidaa/cappuccino,krodelin/cappuccino,tolmasky/cappuccino,primalmotion/cappuccino,Rosch/cappuccino,primalmotion/cappuccino,dgvivero/CappCoreData,daboe01/cappuccino,tancred/cappuccino,mrcarlberg/cappuccino,Dogild/cappuccino,Rosch/cappuccino,jarib/cappuccino,zittix/cappuccino,eventualbuddha/cappuccino,deltaprojects/cappuccino,akshell/cappuccino,tolmasky/cappuccino,rgv151/cappuccino,zittix/cappuccino,cacaodev/cappuccino,dgvivero/CappCoreData,cappuccino/cappuccino,eventualbuddha/cappuccino,cappuccino/cappuccino,daboe01/cappuccino,enquora/cappuccino,cappuccino/cappuccino,Dogild/cappuccino,cacaodev/cappuccino,akshell/cappuccino,AlexanderMazaletskiy/cappuccino,Dogild/cappuccino,wangshijin/cappuccino,koamac/Cappuccino,kidaa/cappuccino,koamac/Cappuccino,mrcarlberg/cappuccino,daboe01/cappuccino,tancred/cappuccino,enquora/cappuccino,deltaprojects/cappuccino,krodelin/cappuccino