Preview image fix