correct a segfault when you refresh while player does not have physics