fixed keyboard and mouse input and mouse accuracy