Fix SIGFPE crash on func_door_model with speed property set