can you try with "inline" instead of "window" and see if this works better ?