I am using a button, that when pressed, opens up a menu where the mouse position is, using plugins.window
This works correctly in smartclient but when using webclient, it defaults to the topleft corner of the screen - how can I change it to work as smart client does?