Fixes legend image bug in latlon-versions