Fixed small problem in the case that no tiles need to get rendered.