Fixed bug that prevented monsters from hurting the player