Fixed crash in case of landscape mode in webcamview