add px on previewStyle position and dimension