libview: Do not draw the focus rectangle when the view doesn't have the input focus