fixed initialization of controls (keys/mouse buttons)