Fixed critical bug in ale.py.