Draw cursor frame when terminal is not focused

When the terminal is not focused, draw the terminal frame (1px large border), instead of nothing.

This is useful to know where your cursor is, even if you are not in the terminal; typically, when you want to paste text from another source, using middle-click.

This is directly inspired from gnome-terminal and a lot of others.