Fixed issue with ID buffer, next is fixing the animation