Images preview fix