better caption button positioning
fix DrawFrame for RTL layout
include the caption buttons in the layout update (UpdateWindowRtlLayout)