Fixed broken render loop! :)