A Xvnc server running in 16 bpp depth would crash when a client with
16 bpp depth connected. Also, keyboard behaviour was incorrect when
the X server was run with Xkb extension disabled.

This update fixes both issues.