Two bugs found:
1) If we have document with linked pixel layers (pixel content link) and then "resize document" - then layers are not linked anymore after resize (pixel content link lost)
2) Undo resize sometimes DO NOT RESTORE the links (pixel content link) back.
Not happen everytime, but i experienced it, so you press Ctrl-Z and get broken document after that without noticing