It's not really conveyed by the game, but the flashlight is supposed to be emitted by the glaive weapon.
Throwing the glaive, while the flashlight is active, switches the projected transparent texture into a dynamic light that follows the glaive.
My guess is either that Digital Extreme originally concepted the flashlight to be 360° which would be more aligned with the weapon design and changed it last minute with some questionable code that somehow works, or the original flashlight was a constant dynamic light around the glaive and the switch from constant dynamic light to projected transparent texture is again just a last minute redesign with some questionable code that somehow works.
The port in itself seems to be held barely together with duct tape. Resolution changing, or alt-tabbing, pushes the system into pure chaos and widescreen resolutions clinch the aspect ratio.
It's fixable in the config files, but every half decent port shouldn't have those problems.
There is probably no easy fix. Your wrapper interprets the call correctly, but the game expects some shenanigans to work.