Oops sry I said "check it with different resolutions" but I meant "(I) checked it with different resolutions".

But I just double checked it and it isn't entirely perfect but it seems to be fine for now, with only big offset with weird ratio's where e.g. y reso is bigger than x reso.

ty for the replies