Fixed bug "ShowMap" not displaying  in few scenarios