Fix accelerometer doesn't work sometimes and get random seed back