Fix showing cancel button when too late to cancel