CRenderersData: fix possible integer overflow