Fixed glitches with Raspberry Pi