Fix graphic bug on map change (hide not at the right time)