Fix B2G viewer and enabled preview.