BTT V5.516 update floating menu position bug

Hi @Andreas_Hegenberg ,

I think at least in v5.516 there is a bug whith action "update floating menu properties".

I have two key sequence to toggle floating menu visibility : one that shows floating menu at mouse cursor (fn+alt), and one (fn+cmd) that shows floating menu at screen right corner. (it is the same floating menu)

configurations are like this:

and

When I trigger fn+alt, the menu will show at the right position (i.e. at mouse cursor position).
If I close the menu with fn+alt, then display it with fn+cmd, the menu shows up its right corner at mouse position instead of screen top right corner.

Bug is when I do
fn+alt -> Displays the floating menu at mouse cursor position
fn+alt -> Hides floating menu
fn+cmd -> Shows the floating menu at wrong position (i.e. top right corner of floating menu at mouse position instead of screen top right corner)
fn+cmd -> Hides the floating

BUT, I found that if I do:
fn+alt -> Displays the floating menu at mouse cursor position
fn+cmd -> Hides the floating menu
fn+cmd -> Shows the floating menu at the right position for this trigger (i.e. Top right screen corner)

It means that as soon as I hide (toggle) floating menu visibility with fn+alt (the one that should display floating menu at mouse cursor), any further fn+cmd trigger will shows the floating menu right corner to mouse cursor instead of screen right corner.

I think a variable refresh is missing somewhere when position the floating menu.
[EDIT on 2025/07/06] It seems that the action "update floating menu properties" is a little buggy. I stopped using it and compute position of floating menu in javascript and put it in a variable.