After enabling "show mouse cursor" mouse axis input is always zero

Once mouse cursor is enabled mouseX and mouseY is always zero until one of the mouse buttons is pressed.

After any mouse button is pressed axis inputs start coming.

This issue has been reported earlier :