fixed metric window handling