Made rendererer faster.