Added to a tick and render method