Fix keyboard handling
Fix render states