I'm rendering a sprite with a custom material, which means it has its own custom fragment shader that I wrote. For some reason though it refused the render if i make that entity's size only in x or y axises less than 0 (It works if both x and y is below 0). This doesn't change if I made my shader code as simple as just changing the color of the object, so I don't think this is related to shader code.
I added the code that I used to resize the entity, and there is also a video demonstration of whats happening.