Viewport features: Fix projection shadows, and fix letterboxing detected as HUD elements (Metroid morphball scale bug).
Also implement flashing layer debugging on Direct3D that I forgot.
And remove some debug prints in Release mode.