Fix 16-bit writes in compatibility mode