Add the below code to the end of your SHKVAL_init.lua file and all will be well. Put your viewporthandling.lua back to original.
purposes = {--render_purpose.GENERAL,
render_purpose.HUD_ONLY_VIEW,
render_purpose.SCREENSPACE_OUTSIDE_COCKPIT,
render_purpose.SCREENSPACE_INSIDE_COCKPIT}
Commenting out this line purposes = {--render_purpose.GENERAL in viewporthandling.lua will kill the all cockpit displays that use the viewporthandling.lua. Which in BS2 is just the SHKVAL, Abris and PVI800.