Fix a bug where circles would get drawn twice.