Implement and use Layer::operator()(int x, int y)