fix rendering on pad/phone