fixed bugs when bullet are out of maze's size