app: fix rendering bug