Added fix for preview size