This behavior has nothing to do with the operating system!
As previously mentioned, please check an I/O field to see if the value is set to 0 when the key is released. You can use printf("Tagname", tagvalue); to check if the value is set correctly. Use a output window or the apdiag tool.
If...