Made some changes on how the software rendering works