fix a crash when grabbing AABox from buffer