Fix IE7/8 selection issue when no layers are rendered