Fix that memmove

Ugh, rookie mistake. Also prevent underflow in msgdraw, just in case