Judging from that screenshot, I take it you started filling the screen at 1 instead of zero. Programming advice: Start at zero when doing things.