Freeing KW_Frame properly. Re-rendering button when geometry changes