Fixed keydown() bug