Simple utility to set window stack level