Texture bleeding using a sample2D array.

I’m new to OpenGL and i’m creating a 2D batch renderer. Everything works fine now, textures, scaling, blending, rotation, but, when an object is rotating somewhere on the screen, other objects get this weird texture glitching (bleeding?) on the corner:
I am using a sampler2D array for changing between textures in the shader.

Please ask for any code, if needed!

show us how you are building the array texture
show us the fragment shader code