bug fix for property panel button