public void outOfBoundsCorrection(GameObject background) {
		if(this.getX() < background.getX()){
			this.setX(background.getX());
		}
		if((this.getX() + this.getSize().width) > (background.getX() + background.getSize().getWidth())){
			this.setX((int)(background.getX() + background.getSize().getWidth() - this.getSize().getWidth()));
		}
		if(this.getY() < background.getY()){
			this.setY(background.getY());
		}
		if((this.getY() + this.getSize().height) > (background.getY() + background.getSize().getHeight())){
			this.setY((int)(background.getY() + background.getSize().getHeight() - this.getSize().getHeight()));
		}
	}