Fix stupid error in drawing (major speed up)