Fixed unfitting window in pdf-preview