[AVSwitch] fix issues with aspect ratio. (reverse-merged from openmix/master)