Fix for #1235

Reset all mouse drag related events when ShowTitleBar is changed.