Fixed a bug in action selection mechanism for raw pixel representation.