Fixed weird rendering bug (added .end renderer)