fixed linear collision bug on HAPC