How about expanding the window size, scaling the UI and then running the HKN resize? Once you have the UI scaled and saved, you shouldn't need to resize it again.