Fixes physics issues for ghost objects and kinematic rigid bodies introduced by previous commit.
Merge pull request #979 from sgrenier/next

Fixes physics issues for ghost objects and kinematic rigid bodies introduced by previous commit