If you want to continue using an @window, make it a desktop window which isn't shown on the Windows taskbar, than just use the $window(-2) identifier to calculate it's location.

However, doing this you'll need to find a way of checking whether the main mIRC window's position has changed so that you can reposition the @window, this can be done with a function found in the sz.dll or by using a /timer