Update cloneWithProps and fix Panel header issues #17