Properly exit error screen when hitting cancel

Fixes #3351.

-[Unknown]