Fixed minor bug in preview size calculation