Hiding images when window looses focus