Frankly if your maps are built correctly.. any floor above the one the camera is in ought be culled by the visibility system, so the models on that floor ought to be culled too. Then of course this problem wont happen.. if however it does.. simply turn off shadows if camera.z<model.z