Fixed conversion of position buffers to linear objects.