When using the "Keep window on top option" make sure that the effect of that option ends when emulation ends when using render to main.