Fix error page styling

Fixes #1928