fix: regression, empty window in some circumstance remove woraround for #16,