Fixed put pixel total crash in rust 0.12.0