[BUG]ScreenAlignePixelToPixelUVs cause issue in editor

We’re using ScreenAlignePixelToPixelUVs in one of our shader to center a circle area on the screen and although it works fine in a built game, it doesn’t work in Editor: http://puu.sh/bgzLZ/e8dca921cf.jpg

I have noticed that this problem seems to be related to the size of the editor windows, it picks up the total window size of the editor instead of the one from the actual game screen.

You can reproduce the bug by doing this material graph: http://puu.sh/bgzRC/84f3a48bf0.png

I just noticed r.screenpercentage also isn’t taken in account unless its a build.