Fixed up image capture and preview