Added constraints to keep bats from going out of bounds