Check and raise error in case of negative offsets for blits

Closes #4