Copied FadeIn/FadeOut CenterMap logic from winforms