Fix first pixel bug