[PD] need a workaround for detecting movement in Mac OS