Error reporting when front view rendering goes wrong
Remove unnecessary cast