Rectangles not drawn after Texture is initialized

I made 2 rectangles; one follows your mouse, and the other just sits in the upper right hand corner of your screen.

How the rectangles are drawn:

//mouse rect
				glColor3f(10, 10, 10);
				glRectf( Mouse.getX() - 5, Display.getHeight() - Mouse.getY() - 5, Mouse.getX() + 10, Display.getHeight() - Mouse.getY() + 10);
				
				//other rect
				glRectf(100, 100, 10, 10);

The rectangles are there until I initialize the textures:

Img = TextureLoader.getTexture("PNG", ResourceLoader.getResourceAsStream("res/Image.png"));

The current GL11 functions I have enabled are :

glEnable(GL_TEXTURE_2D);
		
		//Makes transparent images
		glEnable(GL11.GL_BLEND);
		GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);

And I also clear the buffer bits:

glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);

I’m using immediate mode until I get a better understanding of how FBO and VBO works.(If you were wondering)