Fix bug that caused format for display coords to always be taken from main coordinates

@Cadair - can you confirm that it works properly with this?