Clean quaternionbuffer at the right place.