Improved repainting in edit tool: reduced flickering when moving models.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>