fixed bug with red point appearing at origin