Make getDrawInstructions work with panesX, panesY objects.