Wouldn't it be enough to call moveTo here? This would also take care of the backbuffer removal.