Fixed: update aspect ratio when setResolution.