Still trying to fix this damn render bug