Fix Z Plane bug in SCUMM 5
Fix big bug when writing variable