Choices Positon: Snapping to the side of the message window

I'm using Yanfly's Message Core and Message Ext Pack to create custom messages, appearing above an event.
However, this is incompatible with the default Show Choices window.
I would like a plugin that would allow me to make the Choices window appear to any side of the message window, snapping to it, instead of the X/Y coordinates.

As this mockup shows, I would need plugin commands that could make this Show Choices to appear on any of these 4 places.

Plugin commands to select a position.

Choices.PNG

Original thread: https://forums.rpgmakerweb.com/threads/choices-positon-snapping-to-the-side-of-the-message-window.78685/