Fixed lockup on some overlay enabled cards.