attempt to fix overflow bug
fix offsets due to renderer changes