Fixed visible condtions in pisctures window