Fix EZP-23046: kernel error overrides only work once

Kernel errors on content view wouldn't set the design keys
required by error/view.
Merge pull request #1013 from ezsystems/EZP-23046-kernel_error_pagelayout_override

Fix EZP-23046: kernel error overrides only work once