Bug fix to bearing debug output - using wrong frame.