Issue was caused by render result passing to a compositor was having a resolution of border when using a camera border in cases there's no Render Layer nodes. Made it so resolution in which compositor works does not depend on whether Render Layers present or not.