State tweaks teachers' paychecks