It seems that you have actually encountered a bug here, which I can also reproduce in the emulator (with ROM 920377). If you write the DOT command first and then the LINE command, then your example program works.
Please login to see this attachment.
Please login to see this attachment.