Bugfix for new pixel areas function.