I had this issue before and I forget how to correct it.
When using toolpallettes with blocks, AutoCad tends to remember the last block inserted as the "Repeat Last Command" function. After drawing a few lines, whammo, up pops that block that was inserted a couple commands ago.
Any suggestions?