Fix for showing / hiding action buttons