Fix skeleton render glitch.