troubleshooting viewport