No more segfault on level transitions