Fix object rendering