Fixed obj drawing bug