tried to fix bug with circle

i think i found the reason for the bug, i have not implemented a fix.
see TODO for info