Korean characters are lost while typing in code blocks

Hooray again! This bug seems fixed since v0.50.0. Fix for the Chinese IME also worked for Korean IME.