Fix block_action and notify_flip bugs