Fixed rendering errors.