Fixes to pyobd for Raspberry Pi PiTFT