Treat image units and coordinate units differently.