try with renderplayerapi render() beforehand