Got pixel detection working!