Preserve transparency when loading from a file

Fix #7148 - again :)