Fixing PNG output