Fixed some visible conditions in pictures windows