Added resizing mask but did not fix landscape issues.