Fix some of the canvas keyboard problems.