Fix bug which causes sculpt update to lag by one frame