Preview has to be stopped before chaning preview size. Change-Id: I6ab30402b2270eed9606a69ebce43ae58e0776a8