renderer2: division by zero failsafe, refs #688
mod: integer division casting