Prevent reading past start of Scintilla buffer

A quick check seemed to show Scintilla does not check the minimum
value is positive, so just check here to be safe and log message
if it fails.