Better handling of mutiple background switches before images finish loading.