Axis mappings for mouse X or Y return 0 after 1st mouseup

I have a similar issue that occurs whenever I play in editor. Although I have the cursor hidden (1st person game), it’s clear that the mouse XY events return 0.0 whenever the cursor hits the sides of the viewport. If the cursor is not hitting the sides of the viewport, the mouse values are normal. This goes away after a single mouse click.