automatically clear graphics buffers when removed from scene (prevent leak)