fixed bug when new msg pic becomes visible and doesn't hide other opened windows