Improved graphics api around adding debug sprites.