public void renderSubScreens()
	{
		for (SubScreen ss : subScreens)
		{
			if(ss.isVisible())
			{
				ss.render();
				int[] image = ss.pixels;
				for (int x = 0; x < ss.getWidth(); x++)
				{
					for (int y = 0; y < ss.getHeight(); y++)
					{
						if (ss.getY() + y >= 0 && ss.getY() + y < height && ss.getX() + x >= 0 && ss.getX() + x < width)
						{
							if (image[x + y * ss.getWidth()] != ScreenManager.getInstance().getOmmitColor()) 
								pixels[width * (ss.getY() + y) + (ss.getX() + x)] = image[x + y * ss.getWidth()];
						}
					}
				}
			}
		}
	}