Fixes a bug in gnome-login and Webos.UserInterface.