Fixed one small bug in blocks rendering