Check for designMode on focus in all browsers

This PR depends on #629.