Pictures preview fix