PanelRenderer now checks the Animation type before trying to render the animation.