Fix head tracking bug (thanks, clang!)