fixed bug where shift release wasn't being correctly detected