fix the crash when click on the clear button
add the title bar for the palette frame in capture view