Finally fixed render issue (AFTER AN HOUR!)