Fixed viewport layout using commas instead of semicolons

Fixes #5285