replaced or with origin in the renderer

fixes compilation with older GCC versions