Fixed checks for startpoint and color