Contacts GPIO refreshing the problem

I have openHAB 2 installed on Raspberry pi 3. Probelm appears when updating the “Contact” state. Although the 3.3V voltage disappears from the GPIO, Openhab still sees the previous state. The problem occurs once in a while. There is also no change in Log.

This is Items FIle:
Contact Okno1 “Okno1 [%s]” (ile_otwarte) { gpio=“pin:16 debounce:10 activelow:yes” }