Fix for rotation and translation applied during collision mask test.