CompatUtility: Fix host 2d_coords.

Fixes #5917