fixed segmentation fault, stopping monster movement