fixed preview after taking a picture