Get supported preview sizes before setting it up.