[AC21.4] Fix crash in PNG initialiation [was: can't move cursor ...]