fix #519, action buttons not showing up sometimes