The tray positions only resolve once the tray icon has been clicked, which reports its location to the plugin.