Handle painting the border if WS_EX_CLIENTEDGE is not set.