Fix cell angles in writing.