Fix bug I introduced by cleaning up colorAtPoint code