Fix missing key code check on release

The key release method was missing the vk vs string check.