Share some code between renderers
Hack to fix overlapped points