Fix graphical glithces and accelerometer