Reenable waitKey on Raspberry Pi