Fix sensors input, random init and drawing