[Fixes bug #1175733] Layer preview updates immediately after an image is pasted