Extract key width
Do the rendering in the render function
Only render the keyboard once.