Fix for alert views that are called and then immediately forgotten about (makes a crash).