@Override
	public boolean isVisibleAt(int posX, int posY) {
		int newOriginX = originX, newOriginY=originY, newWidth=width, newHeight=height;
		if(width<0 && height<0){
			newOriginX = originX+width;
			newOriginY = originY+height;
			newWidth = width*-1;
			newHeight = height*-1;
		}else if(width<0){
			newOriginX = originX+width;
			newWidth = width*-1;
		}else if(height<0){
			newOriginY = originY+height;
			newHeight = height*-1;
		}
		if((posX/zoom) > newOriginX && (posX/zoom) < (newOriginX + newWidth))
			if((posY/zoom) > newOriginY && (posY/zoom) < (newOriginY + newHeight))
				return true;
		return false;
	}