Box: Properly convert value from stack to local format before boxing.