Lock message window to event/actor? - (PK8 Move During Messages)

Request:
I would like to find a way to lock a message window to an event or actor's location on the map, instead of to a static place on the screen, so that if the event or actor moves, the message window will follow them.

In another thread (quoted from here), a user claimed a technique that might be useful here, but I can't wrap my head around how to implement it:
[The] issue can be solved by assigning a different Viewport to the window you are creating and moving the viewport itself together with the event. However, I can see how a script can be beneficial for this; doing something like this with events is going to be very annoying.

Compatibility needed:
  1. PK8 - Move During Messages
One of the following:​
  1. Yami Engine Ace - Pop Message
  2. Yami Engine Symphony - Pop Message
  3. Khas Message System
Context:
I'm trying to avoid using Quack's Chatter, because I've had a large number of bugs with it, but I love the feature it provides and I'd like to find a more stable way to achieve the same thing.

Right now I'm trying PK8's - Move During Messages, and I've tested it alongside both of Yami's Pop Message scripts (this one and this one), as well as Khas Message System.

All of them have the same issue, where the message window can be created at the location of an event, but if the player moves enough to scroll the screen, then the message will follow the screen instead of following the event.

I tried to include a gif that could display the behavior.

I'm open to other suggestions as well.
For Yami Pop message
Ruby:
class Window_Message
  attr_reader :event_box_id
  #--------------------------------------------------------------------------
  # new method: event_pop_message_setup
  #--------------------------------------------------------------------------
  alias r2_message_event_id_saved event_pop_message_setup
  def event_pop_message_setup(event_id, follower = false)
    @event_box_id = event_id
    r2_message_event_id_saved(event_id, follower = false)
  end
  #--------------------------------------------------------------------------
  # set_position
  #--------------------------------------------------------------------------
  def update_position
    return unless SceneManager.scene_is?(Scene_Map)
    return unless @event_box_id
    hash = @event_pop_follower ? $game_player.followers : $game_map.events
    character = hash[@event_box_id]
    self.y = character.screen_y - self.height + YSE::POP_MESSAGE::POSITION[:y_buffer]
    self.x = character.screen_x - self.width / 2 + YSE::POP_MESSAGE::POSITION[:x_buffer]
    fix_position_bubble(character)
    set_bubble_tag(character)
  end
  #--------------------------------------------------------------------------
  # alias method: close
  #--------------------------------------------------------------------------
  alias r2_event_id_remove close
  def close
    r2_event_id_remove
    return unless SceneManager.scene_is?(Scene_Map)
    return unless @event_box_id
    @event_box_id = nil
  end
end

class Game_Player < Game_Character
  #--------------------------------------------------------------------------
  # * Frame Update
  #--------------------------------------------------------------------------
  alias r2_update_bubble_message_position   update
  def update
    r2_update_bubble_message_position
    SceneManager.scene.update_message_window
  end
end

class Scene_Map < Scene_Base
  #--------------------------------------------------------------------------
  # new method: update_message_window
  #--------------------------------------------------------------------------
  def update_message_window
    return unless @message_window.event_box_id
    @message_window.update_position
    @face_window.set_position
  end
end
Roninator, you are an absolute wizard, thank you so much!

Original thread: https://forums.rpgmakerweb.com/threads/lock-message-window-to-event-actor-pk8-move-during-messages.170940/