Temporary fix for bug #1639 SDL does not message back closing of screen keyboard

See FIXME notes on patch for details.