Fix didopen delegate handling.