ninja hotfix for viewport