Nonfunctioning Item class and continuous key press