screenshot preview fix