Updated grapher code for photo border drawing fix