Fix top/left edge picture blitting and compile

The picture pointer was not being advanced
properly when the picture overlapped the left
or top edge.