fixed rendering bug (sometimes nothing would render before resizing the
window)